Hey, I was wondering why access Token accessTokenP...
# support-questions-legacy
u
Hey, I was wondering why access Token accessTokenPayload.userName in ReactJS returns nothing? Component is wrapped in . Am I missing something?
c
They only provide the userId I think. To have the username in the payload, you’ll have to set the username yourself using mergeaccestokenpayload on your backend.
p
Hi. that's right, the access token payload only has props you added to it on the backend